package com.sky.dto.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author 褚金龙
 * @Date 2024/10/6 9:29
 */
@Data
@ApiModel(description = "接收订单相关信息")
public class OrderSubmitDTO implements Serializable {

    @ApiModelProperty("默认收货地址id")
    private Long addressBookId;
    @ApiModelProperty("支付方式")
    private Integer payMethod;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("预计送达时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd  HH:mm:ss")
    private String estimatedDeliveryTime;


    //配送状态 1立即送出 0选择具体时间
    @ApiModelProperty("配送状态")
    private Integer deliveryStatus;

    @ApiModelProperty("餐具数量")
    private Integer tablewareNumber;

    @ApiModelProperty("餐具状态")
    private Integer tablewareStatus;

    @ApiModelProperty("打包费")
    private Integer packAmount;

    @ApiModelProperty("订单总金额")
    private BigDecimal amount; //订单总金额







}
